<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp"%>
	
	<table class="reg_middle" cellpadding="0" cellspacing="0" style="width: 435px; text-align: center;padding-left: 10px;">
       	<tr>
			<td style="width: 115px;">
				<label style="float: left;">请输入分组名称</label>
			</td>	    
			<td>
				<input style="float: left;" class="input" type="text" id="deptName" name="deptName" />
			</td> 	
       	</tr>
		<tr>
			<td colspan="2">
				<label style="float: left;">请选择分组领导（可选）</label>
			</td>
		</tr>
		<tr>
       		<td align="left" colspan="2">
  				<c:choose>
					<c:when test="${fn:length(roleList) gt 0 }">
						<table cellpadding="0" cellspacing="0">
							<tr>
								<c:forEach var="role" items="${roleList }" varStatus="i">
									<td>
						       			<span class="radio_on" onclick="radioCSS('userId',this)" style="color: #555555;">
							       			<input type="radio" value="${role.user.id }" id="userId" name="userId" />
											${role.user.displayName }
						       			</span>
									</td>
									<c:if test="${!i.first and i.index % 6 eq 0 }">
										</tr>
										<tr>
									</c:if>
								</c:forEach>
							</tr>
						</table>
					</c:when>
					<c:otherwise>
						很抱歉，暂时没有可选人员！
					</c:otherwise>
				</c:choose>
       		</td>
		</tr>
	</table>